package io.renren.wh.merchant.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.wh.merchant.entity.RateChannelEntity;
import io.renren.wh.merchant.entity.RateEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RateDao extends BaseMapper<RateEntity> {
    void insertRateChannel(@Param("list") List<RateChannelEntity> list);
    //查询费率已选通道
    List<Integer> queryChannelByRateId(Integer rateId);
}
